package com.zy.hospitalward_management_system.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author zy
 * @since 2021-01-26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class Bed implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 病床ID
     */
    @TableId(value = "bed_id", type = IdType.AUTO)
    private Integer bedId;

    /**
     * 目前是否有人在使用，1有人，0没人
     */
    private Integer bedState;

    /**
     * 病床所属的病房id
     */
    private Integer inpatientwardId;


}
